Dynomotion

Group: DynoMotion Message: 730 From: sophalmak21 Date: 10/21/2010
Subject: Soft Limit
Hi,

I'm running Kflop board (Kmotion v4.22) with Mach3 (R3.042.04o). I couldn't get the soft limit on Mach3 to work.It works fine with Mach3 and parallel port. I have soft limit enabled but I can still jog pass the Soft Max/Min limit.
Group: DynoMotion Message: 731 From: Tom Kerekes Date: 10/22/2010
Subject: Re: Soft Limit
I think Soft limits in Mach3 were handled by the Parallel Port Kernel driver which isn't available or used by KFlop.
 
We need to work on adding that.  You should be able to do that with a KFlop User Program.  Write a loop to monitor the Positions and disable the axis if outside some range.
 
Regards
TK  

Group: DynoMotion Message: 733 From: sophalmak21 Date: 10/22/2010
Subject: Re: Soft Limit
Hi, TK

Tkank you for the response,I'm new to the kflop board and the C programing.
I have questions regarding how to program Kflop for Soft Limit.

1. Where do you load the program?
This is what I have
InitStepDir3Axis.c to thread 1
SpindleMach3.c to thread 2
HomeMach3.c to thread 3
NotifyMach3.c to thread 4

2.How do you trigger the program ? or Does it has to run all the time?

Do you know where I can download sample program ?


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> I think Soft limits in Mach3 were handled by the Parallel Port Kernel driver
> which isn't available or used by KFlop.
>
> We need to work on adding that.  You should be able to do that with a KFlop User
> Program.  Write a loop to monitor the Positions and disable the axis if outside
> some range.
>
> Regards
> TK  
>
>
>
>
> ________________________________
> From: sophalmak21 <sophalmak21@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, October 21, 2010 10:21:24 PM
> Subject: [DynoMotion] Soft Limit
>
>  
> Hi,
>
> I'm running Kflop board (Kmotion v4.22) with Mach3 (R3.042.04o). I couldn't get
> the soft limit on Mach3 to work.It works fine with Mach3 and parallel port. I
> have soft limit enabled but I can still jog pass the Soft Max/Min limit.
>
Group: DynoMotion Message: 734 From: Tom Kerekes Date: 10/22/2010
Subject: Re: Soft Limit
Hi,
 
I've attached something that you might start with.
 
This type of "watchdog" program needs to run all the time.  For testing you might just run it in any unused thread from the C Programs Screen.
 
After it is working you can add the watchdog loop to the end of your Init.c program so after everything is initialized it just starts looping.
 
Regards,
 
TK